package main

import (
	"github.com/gin-gonic/gin"
	"hcy-go/modules/lms/api"
)

func RegisterRouter(r *gin.RouterGroup) {
	coursewareRouter(r) // 注册课件路由

}

func coursewareRouter(r *gin.RouterGroup) {
	sub := r.Group("courseware")
	sub.POST("create", api.CoursewareApi.Create)
	sub.POST("upload", api.CoursewareApi.Upload)
}
